﻿<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <environment names="Development">
        <link rel="stylesheet" href="~/css/site.css" />
    </environment>
    <environment names="Staging,Production">
        <link rel="stylesheet" href="~/css/site.min.css" asp-append-version="true" />
    </environment>
    <title>@ViewBag.Title - My ASP.NET Application</title>
</head>
<body>
    <div class="container">
        <header>
            <h1>ASP.NET MVC Sample App</h1>
        </header>
        <nav>
            <ul>
                <li><a asp-controller="ViewsDemo" asp-action="LayoutSample">Layout Sample</a></li>
                <li><a asp-controller="ViewsDemo" asp-action="LayoutUsingSections">Layout Using Sections</a></li>
            </ul>
        </nav>

        <div>
            @RenderSection("PageNavigation", required: false)
        </div>

        <div>
            @RenderBody()
        </div>
        <hr />
        <footer>
            <p>
                <div>Sample code for Professional C#</div>
                &copy; @DateTime.Now.Year - My ASP.NET Application
            </p>
        </footer>
    </div>
</body>
</html>
